home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.internetmci.com!panix!not-for-mail
- From: rcpj@panix.com (Pierre Jelenc)
- Newsgroups: comp.lang.rexx
- Subject: Re: Locking a file?
- Date: 17 Apr 1996 10:27:35 -0400
- Organization: panix
- Distribution: inet
- Message-ID: <4l2v4n$gdr@panix2.panix.com>
- References: <4l12kf$4m0@panix2.panix.com> <4l250v$l61@news.knoware.nl>
- NNTP-Posting-Host: panix2.panix.com
-
- Koos Pol <koos_pol@compuware.com> writes:
- > In <4l12kf$4m0@panix2.panix.com>, rcpj@panix.com (Pierre Jelenc) writes:
- > >
- > >How can I lock a file in OS/2 so that one and only one process at a time
- > >can modify it or its EA's?
- >
- > Open the file in WRITE mode. (Atomic action)
-
- Does that lock the EA's as well? I cannot find any documentation as to how
- SysPutEA() decides whether it has access to the file or not.
-
- Pierre
- --
- Pierre Jelenc Know what's weird? Day by day nothing seems to
- rcpj@panix.com change, but pretty soon everything is different.
- pierre@nycbeer.org Calvin & Hobbes
- http://www.columbia.edu/~pcj1/
-